from django.views.generic import DetailView, ListView
from bookmarks.models import Landmark

class LandmarkDetailView(DetailView):
    context_object_name = 'landmark'
    model = Landmark
    template_name = "bookmarks/LandmarkDetailView.html"

class LandmarkListView(ListView):
    context_object_name = 'landmarks'
    model = Landmark
    template_name = "bookmarks/LandmarkListView.html"
    paginate_by = 10

class LandmarkPlaqueView(DetailView):
    context_object_name = 'landmark'
    model = Landmark
    template_name = "bookmarks/LandmarkPlaqueView.html"
